<template>
  <div class="success-page">
    <img src="../../assets/img.png" />
<!--    <el-button type="primary" @click="goToOrderDetails"></el-button>-->
  </div>
</template>

<script>
export default {
  methods: {
    goToOrderDetails() {
      // 这里添加跳转到订单详情页的逻辑
      // 例如：this.$router.push('/order-details')
    }
  },
  mounted() {
    // 在组件挂载后启动定时器
    setTimeout(() => {
      this.$router.push('/shouyei');
    }, 3000);
  }
}
</script>

<style scoped>
.success-page {
             display: flex;
             flex-direction: column;
             align-items: center;
             justify-content: center;
             height: 100vh;
           }
img {
  margin-bottom: 20px;
}
p {
  margin-bottom: 10px;
}
</style>
